import cv2 as cv


def resize_image(img):
    resize_img = cv.resize(img, (400, 400))
    return resize_img


img = cv.imread('./DNA.png')
img_new = resize_image(img)
print(img_new.shape)
cv.imwrite('./DNA_1.png', img_new)
